package com.kuaimacode.kframework.mybatis.mapper.user;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kuaimacode.kframework.mybatis.models.user.MasterAccountResult;
import com.kuaimacode.kframework.mybatis.models.user.UserDrawApply;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.kuaimacode.kframework.mybatis.models.user.UserWithdrawalPO;

import java.util.List;

public interface UserDrawApplyMapper extends BaseMapper<UserDrawApply> {

    public List<MasterAccountResult> selectMasterAccount(@Param("masterName")String masterName);

    public List<MasterAccountResult> getMasterDrawApply(@Param("masterName")String masterName,@Param("applyStatus")String applyStatus);

    /**
     * 查询普通用户的提现申请
     * @return
     * @param po
     */
    List<UserWithdrawalPO> findNormalUserDrawApply(UserWithdrawalPO po);
}